/*
 * @Author: xiaxia
 * @Description: 
 * @Date: 2024-06-26 11:59:27
 * @LastEditTime: 2024-06-26 18:31:45
 * @FilePath: \project\src\api\product\trademark\type.ts
 */
export interface ResponseData {
  code: number,
  message: string,
  ok: boolean,
}

// 品牌数据类型
export interface TradeMark {
  id?: number,
  tmName: string,
  logoUrl: string,
}

// 获取品牌返回的数据类型
export type Records = TradeMark[]
export interface TradeMarkRespones extends ResponseData {
  data: {
    records :Records,
    totals: number,
    sizes: number,
    current: number,
    searchCount: boolean,
    pages: number,
    total: number,
  }
}